/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.investigateevidence.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 送达方式和地址确认书 case_document_sendinfo_confirm 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年02月18日
 */
@Data
@Table(name = "upcase.case_document_sendinfo_confirm")
public class CaseDocumentSendinfoConfirm implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 文书目录编码
     */
    @Column(name = "document_catalog_code")
    private String documentCatalogCode;

    /**
     * 本人送达地址
     */
    @Column(name = "send_address")
    private String sendAddress;

    /**
     * 本人邮编
     */
    @Column(name = "post_code")
    private String postCode;

    /**
     * 收件人
     */
    @Column(name = "pick_person")
    private String pickPerson;

    /**
     * 手机
     */
    @Column(name = "mobile")
    private String mobile;

    /**
     * 代收人
     */
    @Column(name = "receiver")
    private String receiver;

    /**
     * 与本人关系
     */
    @Column(name = "receiver_relation")
    private String receiverRelation;

    /**
     * 代收人地址
     */
    @Column(name = "receiver_address")
    private String receiverAddress;

    /**
     * 代收地址邮编
     */
    @Column(name = "receiver_post_code")
    private String receiverPostCode;

    /**
     * 送达手机号
     */
    @Column(name = "pick_mobile")
    private String pickMobile;

    /**
     * 送达传真
     */
    @Column(name = "pick_fax")
    private String pickFax;

    /**
     * 送达邮件
     */
    @Column(name = "pick_email")
    private String pickEmail;

    /**
     * 送达其他方式
     */
    @Column(name = "pick_other_code")
    private String pickOtherCode;

    /**
     * 其他联系方式
     */
    @Column(name = "other_link_type")
    private String otherLinkType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 0.失效，1.有效
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 当事人id
     */
    @Column(name = "party_id")
    private String partyId;
    /**
     * 当事人身份证件类型
     */
    @Column(name = "party_identity_type")
    private String partyIdentityType;

    /**
     * 当事人身份编码
     */
    @Column(name = "party_identity_code")
    private String partyIdentityCode;
    /**
     * 当事人身份编码
     */
    @Column(name = "is_elec_send")
    private String isElecSend;

    private static final long serialVersionUID = 1L;


}
